package com.sunwayworld.basemodule.business.qualitycontrol.controlmaterial.bean;

import com.sunwayworld.framework.data.annotation.Id;
import com.sunwayworld.framework.data.annotation.Table;
import com.sunwayworld.framework.data.annotation.Transient;
import com.sunwayworld.framework.support.domain.Insertable;
import com.sunwayworld.framework.support.domain.AbstractInsertable;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 质控品管理记录表
 * 
 * @author zhoujq@sunwayworld.com
 * @date 2022-03-29
 */
@Table("T_LIMS_CONTROLMATERIAL")
public class LimsControlmaterialBean extends AbstractInsertable<Long> implements Insertable<Long> {

    @Transient
    private static final long serialVersionUID = -82566196618711043L;

    @Id
    private Long id;// 主键
    private String controlMaterialType;// 质控品类型
    private String controlMaterialName;// 质控品名称
    private String mainBatchCode;// 质控品主批号
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expirationDate;// 质控品有效期
    private String controlMaterialLevel;// 质控物水平
    private String manufacturer;// 生产厂家
    private String activeStatus;// 启用状态
    private String remark;// 备注
    private String createdById;// 制单人编码
    private String createdByName;// 制单人名称
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;// 制单时间
    private String createdByOrgId;// 制单人单位编码
    private String createdByOrgName;// 制单人单位名称

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getControlMaterialType() {
        return controlMaterialType;
    }

    public void setControlMaterialType(String controlMaterialType) {
        this.controlMaterialType = controlMaterialType;
    }

    public String getControlMaterialName() {
        return controlMaterialName;
    }

    public void setControlMaterialName(String controlMaterialName) {
        this.controlMaterialName = controlMaterialName;
    }

    public String getMainBatchCode() {
        return mainBatchCode;
    }

    public void setMainBatchCode(String mainBatchCode) {
        this.mainBatchCode = mainBatchCode;
    }

    public LocalDateTime getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(LocalDateTime expirationDate) {
        this.expirationDate = expirationDate;
    }

    public String getControlMaterialLevel() {
        return controlMaterialLevel;
    }

    public void setControlMaterialLevel(String controlMaterialLevel) {
        this.controlMaterialLevel = controlMaterialLevel;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getActiveStatus() {
        return activeStatus;
    }

    public void setActiveStatus(String activeStatus) {
        this.activeStatus = activeStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedById() {
        return createdById;
    }

    public void setCreatedById(String createdById) {
        this.createdById = createdById;
    }

    public String getCreatedByName() {
        return createdByName;
    }

    public void setCreatedByName(String createdByName) {
        this.createdByName = createdByName;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getCreatedByOrgId() {
        return createdByOrgId;
    }

    public void setCreatedByOrgId(String createdByOrgId) {
        this.createdByOrgId = createdByOrgId;
    }

    public String getCreatedByOrgName() {
        return createdByOrgName;
    }

    public void setCreatedByOrgName(String createdByOrgName) {
        this.createdByOrgName = createdByOrgName;
    }

}
